home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Python 1.3.3 / Python 133 SRC / Tools / modulator / Templates / object_new < prev    next >
Text File  |  1995-12-21  |  219b  |  14 lines

  1.  
  2. static $abbrev$object *
  3. new$abbrev$object()
  4. {
  5.     $abbrev$object *self;
  6.     
  7.     self = PyObject_NEW($abbrev$object, &$Abbrev$type);
  8.     if (self == NULL)
  9.         return NULL;
  10.     /* XXXX Add your own initializers here */
  11.     return self;
  12. }
  13.  
  14.